<!-- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0

ABOUT THIS NODE.JS EXAMPLE: This example works with Version 3 (V3) of the AWS SDK for JavaScript,
which is scheduled for release later in 2020. The prerelease version of the SDK is available
at https://github.com/aws/aws-sdk-js-v3. The 'SDK for JavaScript Developer Guide' for V3 is also
scheduled for release later in 2020, and the topic containing this example will be hosted at
https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/s3-example-photo-album.html.

Purpose:
s3_PhotoExample.html demonstrates how to manipulate photos in albums stored in an Amazon S3 bucket.

Inputs (replace in code):
- BUCKET_NAME
- REGION
- IDENTITY_POOL_ID

Running the code:
node s3_PhotoExample.js
*/

 NOTES:
 - For the JavaScript code, see s3_PhotoExample.js.
 - For IAM role policy and CORS setup, see the JavaScript Developer Guide topic at
   https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/s3-example-photo-album.html.
-->

<!-- snippet-start:[s3.HTML.photoAlbumExample.completeV3] -->
<!DOCTYPE html>
<html>
  <head>
    <script src="./main.js"></script>
    <script>
      function getHtml(template) {
        return template.join("\n");
      }
      listAlbums();
    </script>
  </head>
  <body>
    <h1>My photo albums app</h1>
    <div id="app"></div>
  </body>
</html>
<!-- snippet-end:[s3.HTML.photoAlbumExample.completeV3] -->
